package com.group.project.hrms.service;

import com.group.project.hrms.entity.FrontLineVacationRecord;

import java.util.Date;
import java.util.List;

public interface IFrontLineVacationRecordService {

    public int insertFrontLineVacationRecord(FrontLineVacationRecord frontLineVacationRecord);

    public int deleteFrontLineVacationRecord(FrontLineVacationRecord frontLineVacationRecord);

    public int updateFrontLineVacationRecord(FrontLineVacationRecord frontLineVacationRecord);

    public FrontLineVacationRecord selectOneFrontLineVacationRecord(FrontLineVacationRecord frontLineVacationRecord);

    public FrontLineVacationRecord selectFrontLineVacationRecordByFID(String fid);

    public List<FrontLineVacationRecord> selectFrontLineVacationRecordByMonth(String month);

    public List<FrontLineVacationRecord> selectFrontLineVacationRecordByRangeDate(String dateStart, String dateEnd);

    public List<FrontLineVacationRecord> selectFrontLineVacationRecordByRangeCreateDate(String dateStart, String dateEnd);

    public List<FrontLineVacationRecord> selectFrontLineVacationRecordByDateForOneContact(String dateStr);

    public List<FrontLineVacationRecord> selectAllFrontLineVacationRecord();

}
